package org.jsbd.boss.service;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.MiguVideoConfigBean;
import org.jsbd.boss.domian.MiguVideoDaylimitBean;
import org.jsbd.boss.domian.MiguVideoDaylimitVO;

public interface IMiguVideoDaylimitService {
	
	public Map<String, Object> findDataWithPage(DataGridModel page, MiguVideoDaylimitVO mmdVO);

	public void save(MiguVideoDaylimitBean mmdBean);

	public MiguVideoDaylimitBean findDaylimit(Integer id);

	public void modifyDaylimit(MiguVideoDaylimitBean mmdBean);

	public void delete(Integer id);

	public List<MiguVideoDaylimitBean> findDeltaData(int offset);
	
	public void updateDaylimit(List<MiguVideoConfigBean> configs, List<MiguVideoDaylimitBean> mmdBeans);
	
	public MiguVideoConfigBean hasName(String name);

	public boolean isRepeat(String mark);

}
